home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / linux-image-2.6.20-15-generic.templates < prev    next >
Encoding:
Text File  |  2007-04-15  |  14.1 KB  |  298 lines

  1. Template: linux-image-2.6.20-15-generic/preinst/initrd-2.6.20-15-generic
  2. Type: text
  3. Description:  You are installing a kernel with an initrd image
  4.  You are attempting to install an initrd kernel image (version
  5.  2.6.20-15-generic) on a machine currently running kernel version
  6.  ${hostversion}.
  7.  .
  8.  I have been unable to find a suitable tool for generating initrd images
  9.  (I looked at the list "${ramdisk}")
  10.  This will break the installation, unless such tools are also being installed
  11.  right now in the same run. (This means, one from the following list
  12.  ${initrddep})
  13.  
  14. Template: linux-image-2.6.20-15-generic/preinst/bootloader-initrd-2.6.20-15-generic
  15. Type: boolean
  16. Default: true
  17. Description:  Do you want to abort now?
  18.  You are attempting to install an initrd kernel image (version 2.6.20-15-generic)
  19.  This will not work unless you have configured your boot loader to use
  20.  initrd. (An initrd image is a kernel image that expects to use an INITial
  21.  Ram Disk to mount a minimal root file system into RAM and use that for
  22.  booting).
  23.  .
  24.  I repeat, You need to configure your boot loader -- please read your
  25.  bootloader documentation for details on how to add initrd images.
  26.  .
  27.  If you have already done so, and you wish to get rid of this message,
  28.  please put
  29.   "do_initrd = Yes"
  30.  in /etc/kernel-img.conf. Note that this is optional, but if you do not,
  31.  you will continue to see this message whenever you install a kernel
  32.  image using initrd.
  33.  
  34. Template: linux-image-2.6.20-15-generic/preinst/lilo-initrd-2.6.20-15-generic
  35. Type: boolean
  36. Default: true
  37. Description:  Do you want to abort now?
  38.  You are attempting to install an initrd kernel image (version 2.6.20-15-generic)
  39.  This will not work unless you have configured your boot loader to use
  40.  initrd. (An initrd image is a kernel image that expects to use an INITial
  41.  Ram Disk to mount a minimal root file system into RAM and use that for
  42.  booting).
  43.  .
  44.  As a reminder, in order to configure LILO, you need to add an 
  45.  'initrd=/initrd.img' to the image=/vmlinuz stanza of your /etc/lilo.conf
  46.  .
  47.  I repeat, You need to configure your boot loader -- please read your
  48.  bootloader documentation for details on how to add initrd images.
  49.  .
  50.  If you have already done so, and you wish to get rid of this message,
  51.  please put
  52.   "do_initrd = Yes"
  53.  in /etc/kernel-img.conf. Note that this is optional, but if you do not,
  54.  you will continue to see this message whenever you install a kernel
  55.  image using initrd.
  56.  
  57. Template: linux-image-2.6.20-15-generic/preinst/elilo-initrd-2.6.20-15-generic
  58. Type: boolean
  59. Default: true
  60. Description:  Do you want to abort now?
  61.  You are attempting to install an initrd kernel image (version 2.6.20-15-generic)
  62.  This will not work unless you have configured your boot loader to use
  63.  initrd. (An initrd image is a kernel image that expects to use an INITial
  64.  Ram Disk to mount a minimal root file system into RAM and use that for
  65.  booting).
  66.  .
  67.  As a reminder, in order to configure ELILO, you need to add an 
  68.  'initrd=/initrd.img' to the image=/vmlinuz stanza of your /etc/elilo.conf
  69.  .
  70.  I repeat, You need to configure your boot loader -- please read your
  71.  bootloader documentation for details on how to add initrd images.
  72.  .
  73.  If you have already done so, and you wish to get rid of this message,
  74.  please put
  75.   "do_initrd = Yes"
  76.  in /etc/kernel-img.conf. Note that this is optional, but if you do not,
  77.  you will continue to see this message whenever you install a kernel
  78.  image using initrd.
  79.  
  80. Template: linux-image-2.6.20-15-generic/preinst/lilo-has-ramdisk
  81. Type: text
  82. Description:  Lilo has a ramdisk line, which should be commented or removed
  83.  I have found a line
  84.  ${LINE}
  85.  in /etc/lilo.conf that should be removed or commented out, since you are using 
  86.  initrd/initramfs.
  87.  
  88. Template: linux-image-2.6.20-15-generic/preinst/abort-install-2.6.20-15-generic
  89. Type: note
  90. Description:  Aborting install since loading an initrd kernel image
  91.  You are attempting to install an initrd kernel image (version
  92.  2.6.20-15-generic) This will not work unless you have configured your boot
  93.  loader to use initrd. (An initrd image is a kernel image that expects
  94.  to use an INITial Ram Disk to mount a minimal root file system into
  95.  RAM and use that for booting). Unfortunately, since this Question
  96.  pertaining to this was not shown, and the default action is to abort
  97.  the install. linux-image-2.6.20-15-generic aborted.
  98.  
  99.  
  100. Template: linux-image-2.6.20-15-generic/preinst/failed-to-move-modules-2.6.20-15-generic
  101. Type: note
  102. Description:  Failed to move modules out of the way, aborting
  103.  You are attempting to install a kernel image (version 2.6.20-15-generic)
  104.  However, the directory ${modules_base}/2.6.20-15-generic/kernel still exists.
  105.  .
  106.  As you have instructed, an attempt was made to move the directory out
  107.  of the way. Unfortunately, There was a problem moving
  108.  ${modules_base}/2.6.20-15-generic to ${modules_base}/${dest}.
  109.  .
  110.  I suggest you move $modules_base/$version out of the way manually,
  111.  and then try re-installing this image.
  112.  .
  113.  I am aborting.
  114.  
  115. Template: linux-image-2.6.20-15-generic/preinst/overwriting-modules-2.6.20-15-generic
  116. Type: boolean
  117. Default: true
  118. Description:  Stop install since the kernel-image is already installed?
  119.  You are attempting to install a kernel image (version 2.6.20-15-generic)
  120.  However, the directory ${modules_base}/2.6.20-15-generic/kernel still exists.  If this
  121.  directory belongs to a previous ${package} package, and if
  122.  you have deselected some modules, or installed standalone modules
  123.  packages, this could be bad. 
  124.  .
  125.  If ${modules_base}/2.6.20-15-generic/kernel belongs to a old install of
  126.  ${package}, then this is your last chance to abort the
  127.  installation of this kernel image (nothing has been changed yet).
  128.  .
  129.  If you know what you are doing, and if you feel that this
  130.  image should be installed despite this anomaly, Please answer n to the
  131.  question.
  132.  .
  133.  Otherwise, I suggest you move ${modules_base}/2.6.20-15-generic/kernel out of the way,
  134.  perhaps to ${modules_base}/2.6.20-15-generic.kernel.old or something, and then try
  135.  re-installing this image.
  136.  
  137. Template: linux-image-2.6.20-15-generic/preinst/abort-overwrite-2.6.20-15-generic
  138. Type: note
  139. Description:  Aborting install since modules exist
  140.  You are attempting to install an initrd kernel image (version
  141.  2.6.20-15-generic). However, the corresponding kernel modules directory exists, 
  142.  and there was no permission given to silently delete the modules 
  143.  directory.  Unfortunately, since this Question
  144.  pertaining to this was not shown, and the default action is to abort
  145.  the install. linux-image-2.6.20-15-generic aborted.
  146.  
  147.  
  148. Template: linux-image-2.6.20-15-generic/preinst/already-running-this-2.6.20-15-generic
  149. Type: note
  150. Description:  The kernel version running is the same as the one being installed
  151.  You are attempting to install a kernel version that is the same as
  152.  the version you are currently running (version ${running}). The modules
  153.  list is quite likely to have been changed, and the modules dependency
  154.  file ${modules_base}/2.6.20-15-generic/modules.dep needs to be re-built. It can
  155.  not be built correctly right now, since the module list for the
  156.  running kernel are likely to be different from the kernel installed.
  157.  I am creating a new modules.dep file, but that may not be
  158.  correct. It shall be regenerated correctly at next reboot.
  159.  .
  160.  I repeat: you have to reboot in order for the modules file to be
  161.  created correctly. Until you reboot, it may be impossible to load
  162.  some modules. Reboot as soon as this install is finished (Do not
  163.  reboot right now, since you may not be able to boot back up until
  164.  installation is over, but boot immediately after). I can not stress
  165.  that too much. You need to reboot soon.
  166.  
  167. Template: linux-image-2.6.20-15-generic/postinst/create-kimage-link-2.6.20-15-generic
  168. Type: boolean
  169. Default: true
  170. Description:  Create a symbolic link to the current kernel image?
  171.  I notice that you do not have ${kimage} symbolic link. I can create one 
  172.  for you, and it shall be updated by newer kernel image packages. This is
  173.  useful if you use a boot loader like lilo.
  174.  
  175. Template: linux-image-2.6.20-15-generic/postinst/kimage-is-a-directory
  176. Type: note
  177. Description:  Image symbolic link destination is a directory, aborting
  178.  ${kimage} is a directory, which I did not expect.  I am trying to create a
  179.  symbolic link with that name linked to ${image_dest}. Since a directory
  180.  exists here, my assumptions are way off, and I am aborting.
  181.  
  182. Template: linux-image-2.6.20-15-generic/postinst/depmod-error-2.6.20-15-generic
  183. Type: boolean
  184. Default: false
  185. Description:  Do you want to abort now?
  186.  This may be benign, (You may have versioned symbol names, for instance).
  187.  Or this could be an error. depmod exited with return value ${exit_value}
  188.  ${SIGNAL}${CORE}. 
  189.  I am deleting the file ${modules_base}/2.6.20-15-generic/modules.dep. However, 
  190.  since depmod is run at install time, we could just defer running depmod.
  191.  
  192. Template: linux-image-2.6.20-15-generic/postinst/depmod-error-initrd-2.6.20-15-generic
  193. Type: boolean
  194. Default: false
  195. Description:  Do you want to abort now?
  196.  This may be benign, (You may have versioned symbol names, for instance).
  197.  Or this could be an error. depmod exited with return value ${exit_value}
  198.  . ${SIGNAL} ${CORE}
  199.  Since this image uses initrd, I am not deleting the file
  200.  ${modules_base}/2.6.20-15-generic/modules.dep. However, there is no guarantee that the 
  201.  file is valid. I would strongly advice you to either abort and fix the
  202.  errors in depmod, or regenerate the initrd image with a known good 
  203.  modules.dep file. I repeat, an initrd kernel image with a bad modules.dep
  204.  shall fail to boot.
  205.  
  206. Template: linux-image-2.6.20-15-generic/postinst/old-initrd-link-2.6.20-15-generic
  207. Type: boolean
  208. Default: true
  209. Description:  Should the old initrd link be deleted now?
  210.  I note that you have an old initrd symbolic link in place. The name of
  211.  the symbolic link is being changed to initrd.img. If the old link is
  212.  deleted, you may have to update the boot loader. If the link is left in
  213.  place, it will point to the wrong image.
  214.  
  215. Template: linux-image-2.6.20-15-generic/postinst/old-dir-initrd-link-2.6.20-15-generic
  216. Type: boolean
  217. Default: true
  218. Description:  Should the old initrd link be deleted now?
  219.  I note that you have an old ${image_dir}/initrd symbolic link in
  220.  place.  The location of the symbolic link is now the same location as
  221.  the kernel image symbolic links, namely, in ${image_dest}.  If the old
  222.  link is deleted, you may have to update the boot loader. If the link
  223.  is left in place, it will point to the wrong image.
  224.  
  225. Template: linux-image-2.6.20-15-generic/postinst/old-system-map-link-2.6.20-15-generic
  226. Type: boolean
  227. Default: true
  228. Description:  Should the old /System.map link be deleted now?
  229.  You have /System.map symbolic link. These were installed by ancient 
  230.  kernel image packages. However, all the programs that look at the 
  231.  information in the map files (including top, ps, and klogd) 
  232.  also will look at /boot/System.map-2.6.20-15-generic
  233.  Having the symbolic link in / is technically detrimental
  234.  (apart from cluttering up /); many programs, though looking in /boot,
  235.  still allow /System.map to override. If you install multiple kernels
  236.  on this machine, then the /System.map symbolic link only
  237.  applies to one such kernel, for all other choices the symbols loaded
  238.  will be wrong. Not having /System.map at all prevents this.
  239.  
  240. Template: shared/kernel-image/really-run-bootloader
  241. Type: boolean
  242. Default: true
  243. Description: Run the default bootloader?
  244.  The default boot loader for this architecture is $loader, which is
  245.  present. However, you have not explicitly requested the boot loader 
  246.  $loader should be run in the configuration file /etc/kernel-img.conf,
  247.  and you seem to have grub installed, and have set a postinst hook
  248.  (which is used to hook in grub after a kernel image installation). At 
  249.  this point, it is perfectly likely that this system is using grub as a
  250.  bootloader, and not the builtin default of $loader. If that is the case,
  251.  running $loader instead of grub might make the machine unbootable. I need
  252.  to know whether to run the default bootloader $loader, or just let the
  253.  postinst hook script update grub later. The default is to run $loader.
  254.  
  255.  
  256. Template: linux-image-2.6.20-15-generic/postinst/bootloader-test-error-2.6.20-15-generic
  257. Type: note
  258. Description:  Error running the boot loader in test mode.
  259.  An error occurred while running the boot loader ${loader} in test mode.
  260.  A log is available in ${temp_file_name}. Please edit /etc/${loader}.conf
  261.  manually and re-run ${loader}, or make other arrangements to boot your machine.
  262.  
  263. Template: linux-image-2.6.20-15-generic/postinst/bootloader-error-2.6.20-15-generic
  264. Type: note
  265. Description:  Error running the boot loader in test mode.
  266.  An error occurred while running the boot loader ${loader}.
  267.  A log is available in ${temp_file_name}. Please edit /etc/${loader}.conf
  268.  manually and re-run ${loader}, or make other arrangements to boot your machine.
  269.  
  270. Template: linux-image-2.6.20-15-generic/prerm/removing-running-kernel-2.6.20-15-generic
  271. Type: boolean
  272. Default: true
  273. Description:  Do you want to abort removal now?
  274.  You are running a kernel (version ${running}) and attempting to remove
  275.  the same version. This is a potentially disastrous action. Not only
  276.  will /boot/vmlinuz-${running} be removed, making it impossible to boot
  277.  it, (you will have to take action to change your boot loader to boot
  278.  a new kernel), it will also remove all modules under the directory
  279.  /lib/modules/${running}. Just having a copy of the kernel image is not
  280.  enough, you will have to replace the modules too.
  281.  .
  282.  I repeat, this is very dangerous. If at all in doubt, answer Yes. If
  283.  you know exactly what you are doing, and are prepared to hose your
  284.  system, then answer No.
  285.  
  286. Template: linux-image-2.6.20-15-generic/prerm/would-invalidate-boot-loader-2.6.20-15-generic
  287. Type: boolean
  288. Default: true
  289. Description:  Do you want to abort removal now?
  290.  You have a valid /etc/${loader}.conf file that mentions
  291.  ${kimage}-2.6.20-15-generic.  Removing linux-image-2.6.20-15-generic would invalidate
  292.  that file. (you will have to edit /etc/${loader}.conf or re-target
  293.  symbolic links mentioned there (typically, /vmlinuz and /vmlinuz.old)
  294.  to not refer to ${kimage}-2.6.20-15-generic and will have to re-run ${loader}). 
  295.  .
  296.  I repeat: you shall have to make changes to your boot loader setup
  297.  and will have to re-run ${loader}.
  298.